//
//  TempViewController.swift
//  weibo
//
//  Created by 谭仁川 on 15/12/4.
//  Copyright © 2015年 itcast. All rights reserved.
//

import UIKit

class TempViewController: UIViewController {

    override func viewDidLoad() {
        super.viewDidLoad()
        view.backgroundColor = UIColor.randomColor()
       
        
        // Do any additional setup after loading the view.
    }
    @objc private func back(){
        navigationController?.popViewControllerAnimated(true)
    }
    
    override func touchesEnded(touches: Set<UITouch>, withEvent event: UIEvent?) {
        let temp = TempViewController()
        
        navigationController?.pushViewController(temp, animated: true)
    }

}
